using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class CDangNhapBus
    {
       public string DangNhapAdmin(string strTen, string MatKhau)
       {
           CDangNhapDao m_Dao = new CDangNhapDao();
           return m_Dao.DangNhapAdmin(strTen, MatKhau);
       }
        public string DangNhap(string strTen, string MatKhau)
        {
            CDangNhapDao m_Dao = new CDangNhapDao();
            return m_Dao.DangNhap(strTen, MatKhau);
        }
        public string LayTenDangNhapAdmin(string strTen)
        {
            CDangNhapDao m_Dao = new CDangNhapDao();
            return m_Dao.LayTenDangNhapAdmin(strTen);
        }
        public string LayTenDangNhap(string strTen)
        {
            CDangNhapDao m_Dao = new CDangNhapDao();
            return m_Dao.LayTenDangNhap(strTen);
        }
    }
}
